package com.toulezu.test.web;

import org.springframework.web.bind.annotation.*;

@ControllerAdvice
public class BaseController {
	
	@RequestMapping(value="/sayHello", method = RequestMethod.GET)
	public String sayHello(@RequestParam String name) {
		return "你好，" + name;
	}
}
